<!--
 * @Author: wangwang 2723008256@qq.com
 * @Date: 2022-05-09 10:19:26
 * @LastEditors: wangwang 2723008256@qq.com
 * @LastEditTime: 2022-06-27 15:31:15
 * @FilePath: \jzjy\src\views\ResourceCenter\components\ResFileCard.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div id="box">
    <img src="../../../assets/img/images/res1.png" alt="file_url" />
    <div class="msg">
      <div class="title">{{ title }}</div>
      <p>{{ content }}</p>
      <div class="bottom">
        <span class="upTime">更新于{{ updateTime }}</span>
        <span class="seeNum"><i class="el-icon-view"></i>{{ seeNum }}</span>
      </div>
    </div>
    <div class="downLoad">查看全部</div>
  </div>
</template>

<script>
export default {
  name: "ResFileCard",
  data() {
    return {
      file_url: "../../../assets/img/images/res1.png",
      title: "沁园春·长沙 教案",
      content: "这里是教案的简单介绍，如果没有介绍显示无",
      updateTime: "2022-03-08",
      seeNum: "7777",
    };
  },
};
</script>

<style lang="less" scoped>
#box {
  display: flex;
  justify-content: space-between;
  // align-items: center;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ccc;
  img {
    width: 140px;
    height: 140px;
  }
  .msg {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    border-right: 1px solid #ccc;
    .title {
      margin-bottom: 5px;
      font-size: 15px;
      font-weight: 900;
      color: #333;
    }
    p {
      font-size: 13px;
      color: #666;
    }
    .bottom {
      position: relative;
      top: 80px;
      color: #999;
      .upTime {
        margin-right: 20px;
      }
      .seeNum {
        i {
          margin-right: 5px;
        }
      }
    }
  }
  .downLoad {
    margin: 50px 30px 0 30px;
    width: 96px;
    height: 28px;
    color: #fff;
    text-align: center;
    line-height: 28px;
    background: #08a579;
    border-radius: 14px;
    background: #08a579;
    border-radius: 14px;
    cursor: pointer;
  }
}
</style>
